package zuoye8;

public abstract class Transportation {
    private String number;
    private String model;
    private String admin;
    public Transportation(){
        super();
    }
    public Transportation(String number,String model,String admin){
        this.number=number;
        this.model=model;
        this.admin=admin;
    }

    public abstract void transport();

    public void setNumber(String number){
        this.number=number;
    }

    public String getNumber() {
       return number;
    }
    public void setModel(String model){
        this.model=model;
    }
    public String getModel(){
        return model;
    }
    public void setAdmin(String admin){
        this.admin=admin;
    }

    public String getAdmin() {
        return admin;
    }
}
